package com.googlecode.rjm.model.journal;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.googlecode.rjm.model.enumerations.Priority;


@Entity
@Table(name="journal_details")
@DiscriminatorValue(value="attr#tracker_id")
public class PriorityJournalDetail extends JournalDetail<Priority> {
	
	public Priority getTypedValue() {
		return loadObjectFromId(this.getValue(), Priority.class);
	}

	public Priority getOldTypedValue() {
		return loadObjectFromId(this.getOldValue(), Priority.class);
	}

	
}
